home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- import java.io.Serializable;
-
- class Collections$EmptyMap extends AbstractMap<Object, Object> implements Serializable {
- private static final long serialVersionUID = 6428348081105594320L;
-
- private Collections$EmptyMap() {
- }
-
- public int size() {
- return 0;
- }
-
- public boolean isEmpty() {
- return true;
- }
-
- public boolean containsKey(Object var1) {
- return false;
- }
-
- public boolean containsValue(Object var1) {
- return false;
- }
-
- public Object get(Object var1) {
- return null;
- }
-
- public Set<Object> keySet() {
- return Collections.emptySet();
- }
-
- public Collection<Object> values() {
- return Collections.emptySet();
- }
-
- public Set<Map.Entry<Object, Object>> entrySet() {
- return Collections.emptySet();
- }
-
- public boolean equals(Object var1) {
- return var1 instanceof Map && ((Map)var1).size() == 0;
- }
-
- public int hashCode() {
- return 0;
- }
-
- private Object readResolve() {
- return Collections.EMPTY_MAP;
- }
-
- // $FF: synthetic method
- Collections$EmptyMap(Collections.1 var1) {
- this();
- }
- }
-